import './assets/main.css'

import Phaser from 'phaser';
import Loading from './loading';
import Home from './home';
import Battle from './battle';

let game;
game = new Phaser.Game({
    type: Phaser.WEBGL,
    parent: "app",
    scale: {
      width: 375,
      height: 667,
      mode: Phaser.Scale.FIT,
    },
    input: {
      mouse: {
        target: "app",
      },
      touch: {
        target: "app",
      },
      gamepad: true,
    },
    scene: [Loading, Home, Battle],

});
game

export default game;